.bar {
    width: 100%;
    height: 100%;
    min-width: 100px;
    min-height: 100px;
    background: orange;
    color: white;
    border: 5px orangered solid;
    box-sizing: border-box;
}

.barBuildInFrom {
    opacity: 0;
}

.barBuildIn {
    transition: all 1s ease-in;
}

.barBuildOut {
    transition: all 1s ease-in;
}

.barBuildOutTo {
    opacity: 0;
}
